runtime.mspan.largeType (field)
11 uses
runtime (current package)
arena.go#L584: s.largeType.PtrBytes = uintptr(ptr) - base + typ.PtrBytes
arena.go#L589: doubleCheckHeapPointersInterior(uintptr(ptr), uintptr(ptr), typ.Size_, typ.Size_, typ, &s.largeType, s)
arena.go#L1124: *(*uintptr)(unsafe.Pointer(&s.largeType)) = uintptr(unsafe.Pointer(s.limit))
arena.go#L1125: *(*uintptr)(unsafe.Pointer(&s.largeType.GCData)) = s.limit + unsafe.Sizeof(_type{})
arena.go#L1126: s.largeType.PtrBytes = 0
arena.go#L1127: s.largeType.Size_ = s.elemsize
malloc.go#L1706: span.largeType = nil // Tell the GC not to look at this yet.
mbitmap.go#L160: typ = (*_type)(atomic.Loadp(unsafe.Pointer(&span.largeType)))
mbitmap.go#L795: atomic.StorepNoWB(unsafe.Pointer(&span.largeType), unsafe.Pointer(gctyp))
mbitmap.go#L797: doubleCheckHeapType(x, dataSize, typ, &span.largeType, span)
mheap.go#L515: largeType *_type // malloc header for large objects.
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |